﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TSOL.FastSPWeb.ValueObjects;
using Microsoft.SharePoint;

namespace TSOL.FastSPWeb.Core
{
    internal partial class FastSPWebThreadWorkerQueue 
    {
        internal static FastSPWebThreadWorkerQueue GlobalSPWebThreadWorkerQueue;
        internal static FastSPItemUpdateThreadWorkerQueue GlobalSPItemUpdateThreadWorkerQueue;

        internal Dictionary<int, SPSiteEntryClass> SiteDictionary = new System.Collections.Generic.Dictionary<int, SPSiteEntryClass>();
        internal Dictionary<int, SPWebCacheCollection> WebsCacheDictionary = new System.Collections.Generic.Dictionary<int, SPWebCacheCollection>();

        internal Dictionary<int, SPItemsCacheCollection> ItemsCacheDictionary = new System.Collections.Generic.Dictionary<int, SPItemsCacheCollection>();
        internal Dictionary<int, SPQueryCacheCollection> QueryCacheDictionary = new System.Collections.Generic.Dictionary<int, SPQueryCacheCollection>();
        internal Dictionary<int, SPListsCacheCollection> ListsCacheDictionary = new System.Collections.Generic.Dictionary<int, SPListsCacheCollection>();

        internal Dictionary<Guid, IFastSPUpdateException> UpdateExceptionDictionary = new System.Collections.Generic.Dictionary<Guid, IFastSPUpdateException>();

    }
}